package gui;

import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class CabeceraRegistrado extends CabeceraUsuario {

	/**
	 * Create the panel.
	 */
	public CabeceraRegistrado() {
		
		JButton btnSubirVideo = new JButton("Subir Video");
		btnSubirVideo.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				VSubirVideo v = new VSubirVideo();
				v.setLocationRelativeTo(v.getParent());
				v.setModal(true);
				v.setResizable(false);
				v.pack();
				v.setVisible(true);
			}
		});
		add(btnSubirVideo);
		
		JButton btnPerfil = new JButton("Perfil");
		add(btnPerfil);

	}

}
